package com.itheima.zixi1.ZuoYe.ZuoYe3;

public class SilverCard extends  Card{
    @Override
    public double pay(double money) {
        return money*0.85;
    }

    public SilverCard() {
    }

    public SilverCard(String id, double balance) {
        super(id, balance);
    }
}
